package com.hao.crm.service;

import java.util.List;

import com.hao.crm.domain.Department;
import com.hao.crm.page.PageResult;
import com.hao.crm.query.QueryObject;

public interface IDepartmentService {
	int delete(Long id);

    int insert(Department d);

    Department get(Long id);

    List<Department> selectAll();

    int update(Department d);
    PageResult selectByCondition(QueryObject qo);

}
